package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class Menu implements Serializable {
    private Integer menuId;

    private Integer parentId;

    private Integer menuType;

    private Integer code;

    private String value;

    private Integer type;

    private String page;

    private String adjective;

    private Integer isDel;

    private String icon;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Menu(Integer menuId, Integer parentId, Integer menuType, Integer code, String value, Integer type, String page, String adjective, Integer isDel, String icon, Date createTime, Date updateTime) {
        this.menuId = menuId;
        this.parentId = parentId;
        this.menuType = menuType;
        this.code = code;
        this.value = value;
        this.type = type;
        this.page = page;
        this.adjective = adjective;
        this.isDel = isDel;
        this.icon = icon;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Menu() {
        super();
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getMenuType() {
        return menuType;
    }

    public void setMenuType(Integer menuType) {
        this.menuType = menuType;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value == null ? null : value.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page == null ? null : page.trim();
    }

    public String getAdjective() {
        return adjective;
    }

    public void setAdjective(String adjective) {
        this.adjective = adjective == null ? null : adjective.trim();
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}